<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/WEB-INF/views/include/taglib.jsp"%>
<html>
<head>
	<title>待办事项</title>
	<meta name="decorator" content="default"/>

	<style type="text/css">
		body{
			background-color: #f4f6f8;
		}
		ul {
		    list-style: none;
		}
		.ibox {
		    clear: both;
		    margin-bottom: 25px;
		    margin-top: 0;
		    padding: 0;
		}
		.ibox-title h5 {
		    display: inline-block;
		    font-size: 14px;
		    margin: 0 0 7px;
		    padding: 0;
		    text-overflow: ellipsis;
		    float: left;
		    font-weight: 600;
		}
		.ibox-title {
		    -moz-border-bottom-colors: none;
		    -moz-border-left-colors: none;
		    -moz-border-right-colors: none;
		    -moz-border-top-colors: none;
		    background-color: #fff;
		    border-color: #e7eaec;
		    -webkit-border-image: none;
		    -o-border-image: none;
		    border-image: none;
		    border-style: solid solid none;
		    border-width: 4px 0 0;
		    color: inherit;
		    margin-bottom: 0;
		    padding: 14px 15px 7px;
		    min-height: 28px;
		}
		.ibox-tools {
		    display: inline-block;
		    float: right;
		    margin-top: 0;
		    position: relative;
		    padding: 0;
		}
		.dropdown-menu {
		    border: medium none;
		    display: none;
		    float: left;
		    font-size: 12px;
		    left: 0;
		    list-style: none outside none;
		    padding: 0;
		    position: absolute;
		    text-shadow: none;
		    top: 100%;
		    z-index: 1000;
		    border-radius: 0;
		    box-shadow: 0 0 3px rgba(86,96,117,.3);
		}
		.ibox-content {
		    clear: both;
		}
		.ibox-content {
		    background-color: #fff;
		    color: inherit;
		    padding: 15px 20px 20px;
		    border-color: #e7eaec;
		    -webkit-border-image: none;
		    -o-border-image: none;
		    border-image: none;
		    border-style: solid solid none;
		    border-width: 1px 0;
		}
		.announcement {
		    /* margin-top: 0.15rem; */
		    background-color: white;
		    width: 100%;
		    /* padding: 0 0.5rem 0.3rem 0.3rem; */
		}
		.fl {
		    float: left;
		}
		.announceItem {
		    padding: 0.15rem 0;
		    border-bottom: 1px solid rgb(239,239,244);
		}
		.announceContent {
		    font-size: 14px;
		    line-height: 25px;
		    color: #333333;
		    margin-left: 0.2rem;
		}
	</style>
	<script type="text/javascript">
		
	</script>
	
</head>
<body>
	<ul class="nav nav-tabs" style="background-color: #fff;">
		<li class="active"><a href="${ctx}/zx/gtasks/" style="background-color: #f4f6f8;">待办事项</a></li>
	</ul>
	<div style="padding: 20px">
		<shiro:hasPermission name="zx:gtasks:view1">
			<div class="col-sm-12">
		        <div class="ibox float-e-margins" style="">
		            <div class="ibox-title">
		                <h5>待审核标书</h5>
		                <span style="float: right;"><a href="${ctx}/zx/makeTender/audit">查看更多>></a></span>
		                <div class="ibox-tools">
		                   
		                </div>
		            </div>
		            <div class="ibox-content">
		                <div class="announcement">
							<ul class="matter" style="margin: 0;padding: 0;">
								<c:if test="${fn:length(list2) == 0}">
									<li class="announceItem" style="margin: 10px;">
										<div>
											<div class="fl announceImg" style="padding-right: 10px"><img class=" " src="${ctxStatic}/images/content.png"></div>
											<p class="announceContent">暂无待办事项</p>
										</div>
									</li>
								</c:if>
								<c:if test="${fn:length(list2) > 0}">
									<c:forEach items="${list2}" var="e">
										<li class="announceItem" style="margin: 10px;">
											<div>
												<div class="fl announceImg" style="padding-right: 10px"><img class=" " src="${ctxStatic}/images/content.png"></div>
												<p class="announceContent">
												<a href="${ctx}/zx/makeTender/auditForm?lzdId=${e.id}&sectionId=${e.ts.id}">
													【${e.proNo}】${e.proName}
													<c:if test="${not empty e.ts.sectionName}">
														<span class="label label-success" style="margin-left: 5px;font-size: 90%;font-weight: 400;">${e.ts.sectionName}</span>
													</c:if>
												</a>
													<span class="label label-warning" style="margin-left: 5px;font-size: 90%;font-weight: 400;">待审核</span>	
												</p>
											</div>
										</li>
									</c:forEach>
								</c:if>
							</ul>
						</div>
		            </div>
		        </div>
	         </div>		
		</shiro:hasPermission>
		<shiro:hasPermission name="zx:gtasks:view2">
			<div class="col-sm-12">
		        <div class="ibox float-e-margins" style="">
		            <div class="ibox-title">
		                <h5>待缴投标保证金</h5>
		                <span style="float: right;"><a href="${ctx}/zx/bidBond/list">查看更多>></a></span>
		                <div class="ibox-tools">
		                    
		                </div>
		            </div>
		            <div class="ibox-content">
		                <div class="announcement">
							<ul class="matter" style="margin: 0;padding: 0;">
								<c:if test="${fn:length(list1) == 0}">
									<li class="announceItem" style="margin: 10px;">
										<div>
											<div class="fl announceImg" style="padding-right: 10px"><img class=" " src="${ctxStatic}/images/content.png"></div>
											<p class="announceContent">暂无待办事项</p>
										</div>
									</li>
								</c:if>
								<c:if test="${fn:length(list1) > 0}">
									<c:forEach items="${list1}" var="e">
										<li class="announceItem" style="margin: 10px;">
											<div>
												<div class="fl announceImg" style="padding-right: 10px">
													<img class=" " src="${ctxStatic}/images/content.png">
												</div>											
												<p class="announceContent"><a href="${ctx}/zx/bidBond/form?lzdId=${e.lzd.id}&sectionId=${bidBond.section.id}">【${e.lzd.proNo}】${e.lzd.proName}</a>
													<span class="label label-success" style="margin-left: 5px;font-size: 90%;font-weight: 400;">截止时间：<fmt:formatDate value="${e.bidSecurityDate}" pattern="yyyy-MM-dd HH:mm:ss"/></span>	
												</p>										
											</div>
										</li>
									</c:forEach>
								</c:if>
							</ul>
						</div>
		            </div>
		        </div>
         	</div>
		</shiro:hasPermission>
        <shiro:hasPermission name="zx:gtasks:view3">
        	<div class="col-sm-12">
		        <div class="ibox float-e-margins" style="">
		            <div class="ibox-title">
		                <h5>时间提醒</h5>
		                <span style="float: right;"><a href="${ctx}/zx/proTimeNode/list">查看更多>></a></span>
		                <div class="ibox-tools"> 
		                </div>
		            </div>
		            <div class="ibox-content">
		                <div class="announcement">
							<ul class="matter" style="margin: 0;padding: 0;">
								<c:if test="${fn:length(list3) == 0}">
									<li class="announceItem" style="margin: 10px;">
										<div>
											<div class="fl announceImg" style="padding-right: 10px"><img class=" " src="${ctxStatic}/images/content.png"></div>
											<p class="announceContent">暂无待办事项</p>
										</div>
									</li>
								</c:if>
								<c:if test="${fn:length(list3) > 0}">
									<c:forEach items="${list3}" var="e">
										<li class="announceItem" style="margin: 10px;">
											<div>
												<div class="fl announceImg" style="padding-right: 10px">
													<img class=" " src="${ctxStatic}/images/content.png">
												</div>											
												<p class="announceContent"><a href="${ctx}/zx/bidBond/form?lzdId=${e.id}">【${e.lzd.proNo}】${e.lzd.proName}</a>
													<span class="label label-success" style="margin-left: 5px;font-size: 90%;font-weight: 400;">截止时间：<fmt:formatDate value="${e.tenderSaleDate}" pattern="yyyy-MM-dd HH:mm:ss"/></span>	
												</p>										
											</div>
										</li>
									</c:forEach>
								</c:if>
							</ul>
						</div>
		            </div>
		        </div>
         	</div>
        
        </shiro:hasPermission>
		<shiro:hasPermission name="zx:gtasks:view4">
			<div class="col-sm-12">
		        <div class="ibox float-e-margins" style="">
		            <div class="ibox-title">
		                <h5>开标时间提醒</h5>
		                <span style="float: right;"><a href="${ctx}/zx/proTimeNode/list">查看更多>></a></span>
		                <div class="ibox-tools">
		                    
		                </div>
		            </div>
		            <div class="ibox-content">
		                <div class="announcement">
							<ul class="matter" style="margin: 0;padding: 0;">
								<c:if test="${fn:length(list4) == 0}">
									<li class="announceItem" style="margin: 10px;">
										<div>
											<div class="fl announceImg" style="padding-right: 10px"><img class=" " src="${ctxStatic}/images/content.png"></div>
											<p class="announceContent">暂无开标项目</p>
										</div>
									</li>
								</c:if>
								<c:if test="${fn:length(list4) > 0}">
									<c:forEach items="${list4}" var="e">
										<li class="announceItem" style="margin: 10px;">
											<div>
												<div class="fl announceImg" style="padding-right: 10px">
													<img class=" " src="${ctxStatic}/images/content.png">
												</div>											
												<p class="announceContent"><a href="${ctx}/zx/proTimeNode/form?lzdId=${e.lzd.id}">【${e.lzd.proNo}】${e.lzd.proName}</a>
													<span class="label label-success" style="margin-left: 5px;font-size: 90%;font-weight: 400;">截止时间：<fmt:formatDate value="${e.bidOpenDate}" pattern="yyyy-MM-dd HH:mm:ss"/></span>	
												</p>										
											</div>
										</li>
									</c:forEach>
								</c:if>
							</ul>
						</div>
		            </div>
		        </div>
         	</div>
		</shiro:hasPermission>
		<shiro:hasPermission name="zx:gtasks:view5">
			<div class="col-sm-12">
		        <div class="ibox float-e-margins" style="">
		            <div class="ibox-title">
		                <h5>废标项目</h5>
		                <span style="float: right;"><a href="${ctx}/zx/lzd/list">查看更多>></a></span>
		                <div class="ibox-tools">
		                    
		                </div>
		            </div>
		            <div class="ibox-content">
		                <div class="announcement">
							<ul class="matter" style="margin: 0;padding: 0;">
								<c:if test="${fn:length(list5) == 0}">
									<li class="announceItem" style="margin: 10px;">
										<div>
											<div class="fl announceImg" style="padding-right: 10px"><img class=" " src="${ctxStatic}/images/content.png"></div>
											<p class="announceContent">暂无废标项目</p>
										</div>
									</li>
								</c:if>
								<c:if test="${fn:length(list5) > 0}">
									<c:forEach items="${list5}" var="e">
										<li class="announceItem" style="margin: 10px;">
											<div>
												<div class="fl announceImg" style="padding-right: 10px">
													<img class="" src="${ctxStatic}/images/content.png">
												</div>											
												<p class="announceContent"><a href="${ctx}/zx/lzd/restartForm?id=${e.id}&sectionId=${e.ts.id}">
												<c:if test="${not empty e.proNo}">【${e.proNo}】</c:if>${e.proName}
												<c:if test="${not empty e.ts.sectionName}">
													<span class="label label-success" style="margin-left: 5px;font-size: 90%;font-weight: 400;">${e.ts.sectionName}</span>
												</c:if>
												</a>
													<span class="label label-warning" style="margin-left: 5px;font-size: 90%;font-weight: 400;">废标</span>	
												</p>										
											</div>
										</li>
									</c:forEach>
								</c:if>
							</ul>
						</div>
		            </div>
		        </div>
         	</div>
		</shiro:hasPermission>
		<shiro:hasPermission name="zx:gtasks:view6">
			<div class="col-sm-12">
		        <div class="ibox float-e-margins" style="">
		            <div class="ibox-title">
		                <h5>已开标项目时限(时限为30天)</h5>
		                <%-- <span style="float: right;"><a href="${ctx}/zx/lzd/list">查看更多>></a></span> --%>
		                <div class="ibox-tools">
		                    
		                </div>
		            </div>
		            <div class="ibox-content">
		                <div class="announcement">
							<ul class="matter" style="margin: 0;padding: 0;">
								<c:if test="${fn:length(list6) == 0}">
									<li class="announceItem" style="margin: 10px;">
										<div>
											<div class="fl announceImg" style="padding-right: 10px"><img class=" " src="${ctxStatic}/images/content.png"></div>
											<p class="announceContent">暂无提示信息</p>
										</div>
									</li>
								</c:if>
								<c:if test="${fn:length(list6) > 0}">
									<c:forEach items="${list6}" var="e">
										<li class="announceItem" style="margin: 10px;">
											<div>
												<div class="fl announceImg" style="padding-right: 10px">
													<img class="" src="${ctxStatic}/images/content.png">
												</div>											
												<p class="announceContent"><a href="${ctx}/zx/lzd/restartForm?id=${e.id}&sectionId=${e.ts.id}">
												<c:if test="${not empty e.proNo}">【${e.proNo}】</c:if>${e.proName}
												<c:if test="${not empty e.ts.sectionName}">
													<span class="label label-success" style="margin-left: 5px;font-size: 90%;font-weight: 400;">${e.ts.sectionName}</span>
												</c:if>
												</a>
													<span class="label label-warning" style="margin-left: 5px;font-size: 90%;font-weight: 400;">已开标${e.timeLimit}天</span>	
												</p>										
											</div>
										</li>
									</c:forEach>
								</c:if>
							</ul>
						</div>
		            </div>
		        </div>
         	</div>
		</shiro:hasPermission>
	</div>
	
</body>
</html>